<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://Ultima/content/Ultima.css" type="text/css"?>

<prefwindow title="Preferences" style="direction:ltr;" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml">



<!-- :::::::::::::::::::::::::::::: General :::::::::::::::::::::::::::::: -->



<prefpane class="mytest" id="Pref1" label="General" image="chrome://Ultima/content/General32.png">

<hbox align="center" class="UltimaHeader" style="list-style-image: url('chrome://Ultima/content/General.png');"><image class="UltimaImage" width="128" height="128" /><vbox><text class="UltimaTitle" value="Ultima 3.186" />
<label class="text-link" style="color:white;margin-left:4px" href="http://thedragonportal.eu" value="http://thedragonportal.eu" />
<html:div class="UltimaDiv" style="font-weight:normal; font-size:8pt; font-family:Arial;">Support tool for the web-based strategy game Utopia. Copyright 2015 The Dragon Portal, All Rights Reserved.
Freeware and OpenSource software to the Utopian community.</html:div></vbox></hbox>

<preferences>
<preference id="General1" name="extensions.Ultima.GeneralEnable"    type="bool" />
<preference id="General2" name="extensions.Ultima.GeneralSitting"   type="bool" />
<preference id="General3" name="extensions.Ultima.GeneralClipboard" type="bool" />
<preference id="General4" name="extensions.Ultima.GeneralFloat"     type="bool" />
<preference id="General5" name="extensions.Ultima.GeneralHeader"    type="bool" />
<preference id="General6" name="extensions.Ultima.GeneralFooter"    type="bool" />
<preference id="General7" name="extensions.Ultima.GeneralLeftBox"   type="bool" />
<preference id="General8" name="extensions.Ultima.GeneralRightBox"  type="bool" />
</preferences>

<hbox>

<groupbox width="190"><caption label="Settings" />
<hbox><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="General1" label="Enable Ultima" /></hbox>
<hbox><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="General2" label="Sitting"       /></hbox>
</groupbox>

<groupbox width="190"><caption label="Style" />
<hbox><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="General3" label="Clipboard Pops Up"     /></hbox>
<hbox><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="General4" label="Enable Floating Menus" /></hbox>
</groupbox>

</hbox><hbox>

<groupbox><caption label="Layout Areas" />
<hbox><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="188" preference="General5" label="Remove Header" /><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="176" preference="General6" label="Remove Footer" /></hbox>
<hbox><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="188" preference="General7" label="Extra CSS" disabled="true" /><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="176" preference="General8" label="Remove Right-Box" /></hbox>
</groupbox>

</hbox>

</prefpane>



<!-- :::::::::::::::::::::::::::::: Throne :::::::::::::::::::::::::::::: -->



<prefpane id="Pref2" label="Throne" image="chrome://Ultima/content/Throne32.png">

<hbox align="center" class="UltimaHeader" style="list-style-image: url('chrome://Ultima/content/Throne.png');">
<image class="UltimaImage" width="128" height="128" /><vbox><text class="UltimaTitle" value="Throne" />
<html:div class="UltimaDiv" style="font-weight:normal; font-size:8pt; font-family:Arial;">This section lists various options about your Throne page such as removable messages and titles from within the game and as far as giving you the option to choose whether to format the page and/or copy it to your clipboard</html:div></vbox></hbox>

<preferences>
<preference id="Throne1"  name="extensions.Ultima.ThroneGameAnnouncement" type="bool" />
<preference id="Throne2"  name="extensions.Ultima.ThroneMonarchMessage"   type="bool" />
<preference id="Throne3"  name="extensions.Ultima.ThroneProvinceTitle"    type="bool" />
<preference id="Throne4"  name="extensions.Ultima.ThroneExtraTheme"       type="bool" />
<preference id="Throne5"  name="extensions.Ultima.ThroneShowClipboard"    type="bool" />
<preference id="Throne6"  name="extensions.Ultima.ThroneShowEL"           type="bool" />
<preference id="Throne7"  name="extensions.Ultima.ThroneCopyClipboard"    type="bool" />
<preference id="Throne8"  name="extensions.Ultima.ThroneCopyEL"           type="bool" />
<preference id="Throne9"  name="extensions.Ultima.ThroneEnableSpells"     type="bool" />
<preference id="Throne10" name="extensions.Ultima.ThroneShowSpellIcons"   type="bool" />
<preference id="Throne11" name="extensions.Ultima.ThroneShowSpellName"    type="bool" />
<preference id="Throne12" name="extensions.Ultima.ThroneShowDuration"     type="bool" />
</preferences>

<hbox>

<groupbox width="190"><caption label="Messages" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Throne1" label="Remove Game Announcement"/>
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Throne2" label="Remove Monarch Message" />
</groupbox>

<groupbox width="190"><caption label="Titles" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Throne3" label="Extra Style" disabled="true" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Throne4" label="Extra Province Theme" />
</groupbox>

</hbox><hbox>

<groupbox width="190"><caption label="Throne Formater Options" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Throne5" label="Show Throne Clipboard" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Throne6" label="Show Throne Export Lines" />
</groupbox>

<groupbox width="190"><caption label="Throne Clipboard Options" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Throne7" label="Copy Throne Clipboard"/>
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Throne8" label="Copy Throne Export Lines" />
</groupbox>

</hbox><hbox>

<groupbox><caption label="Spells" />
<hbox><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="188" preference="Throne9" label="Enable Spells" /><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="176" preference="Throne10" label="Show Spell Icons" /></hbox>
<hbox><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="188" preference="Throne11" label="Show Spell Name" /><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="176" preference="Throne12" label="Show Duration" /></hbox>
</groupbox>

</hbox>


</prefpane>



<!-- :::::::::::::::::::::::::::::: Kingdom :::::::::::::::::::::::::::::: -->



<prefpane id="Pref3" label="Kingdom" image="chrome://Ultima/content/Kingdom32.png">

<hbox align="center" class="UltimaHeader" style="list-style-image: url('chrome://Ultima/content/Kingdom.png');">
<image class="UltimaImage" width="128" height="128" /><vbox><text class="UltimaTitle" value="Kingdom" />
<html:div class="UltimaDiv" style="font-weight:normal; font-size:8pt; font-family:Arial;">This section lists various options about your Kingdom page such as removable Banner and titles from within the game and as far as giving you the option to choose whether to format the page and/or copy it to your clipboard as well as sort and remove columns from your kingdom chart</html:div></vbox></hbox>

<preferences>
<preference id="Kingdom1"  name="extensions.Ultima.KingdomBanner"        type="bool" />
<preference id="Kingdom2"  name="extensions.Ultima.KingdomWarfare"       type="bool" />
<preference id="Kingdom3"  name="extensions.Ultima.KingdomTitles"        type="bool" />
<preference id="Kingdom4"  name="extensions.Ultima.KingdomLegend"        type="bool" />
<preference id="Kingdom5"  name="extensions.Ultima.KingdomShowClipboard" type="bool" />
<preference id="Kingdom6"  name="extensions.Ultima.KingdomCopyClipboard" type="bool" />
<preference id="Kingdom7"  name="extensions.Ultima.KingdomMode"          type="bool" />
<preference id="Kingdom8"  name="extensions.Ultima.KingdomActivity"      type="bool" />
<preference id="Kingdom9"  name="extensions.Ultima.KingdomRace"          type="bool" />
<preference id="Kingdom10" name="extensions.Ultima.KingdomLand"          type="bool" />
<preference id="Kingdom11" name="extensions.Ultima.KingdomNW"            type="bool" />
<preference id="Kingdom12" name="extensions.Ultima.KingdomNWPA"          type="bool" />
<preference id="Kingdom13" name="extensions.Ultima.KingdomRank"          type="bool" />
<preference id="Kingdom14" name="extensions.Ultima.KingdomGain"          type="bool" />
<preference id="Kingdom15" name="extensions.Ultima.KingdomSortBy"        type="int"  />
</preferences>

<hbox>

<groupbox width="190"><caption label="Layout" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Kingdom1" label="Remove Kingdom Banner"/>
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Kingdom2" label="Warfare Is Red In War"/>
</groupbox>

<groupbox width="190"><caption label="Titles" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Kingdom3" label="Remove Kingdom Titles"/>
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Kingdom4" label="Remove Kingdom Legend" />
</groupbox>

</hbox><hbox>

<groupbox><caption label="Kingdom Clipboard Options" />
<hbox><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="188" preference="Kingdom5" label="Show Kingdom Clipboard"/><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="176" preference="Kingdom6" label="Copy Kingdom Clipboard"/></hbox>
</groupbox>

</hbox><hbox>

<groupbox width="190"><caption label="Kingdom Columns" />
<hbox><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="80" preference="Kingdom7"  label="Slot"      /><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="80" preference="Kingdom8"  label="Province" /></hbox>
<hbox><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="80" preference="Kingdom9"  label="Race"      /><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="80" preference="Kingdom10" label="Land"     /></hbox>
<hbox><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="80" preference="Kingdom11" label="Net Worth" /><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="80" preference="Kingdom12" label="NW/Acre"  /></hbox>
<hbox><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="80" preference="Kingdom13" label="Rank"      /><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="80" preference="Kingdom14" label="Gain"     /></hbox>
</groupbox>

<groupbox width="190"><caption label="Sort Kingdom By" />
<radiogroup preference="Kingdom15">
<hbox><radio style="font-weight:normal; font-size:8pt; font-family:Arial;" width="80" label="Default"   value="0" /><radio style="font-weight:normal; font-size:8pt; font-family:Arial;" width="80" label="Province" value="1" /></hbox>
<hbox><radio style="font-weight:normal; font-size:8pt; font-family:Arial;" width="80" label="Race"      value="2" /><radio style="font-weight:normal; font-size:8pt; font-family:Arial;" width="80" label="Land"     value="3" /></hbox>
<hbox><radio style="font-weight:normal; font-size:8pt; font-family:Arial;" width="80" label="Net Worth" value="4" /><radio style="font-weight:normal; font-size:8pt; font-family:Arial;" width="80" label="NW/Acre"  value="5" /></hbox>
<hbox><radio style="font-weight:normal; font-size:8pt; font-family:Arial;" width="80" label="Rank"      value="6" /><radio style="font-weight:normal; font-size:8pt; font-family:Arial;" width="80" label="Gains"    value="7" /></hbox>
</radiogroup>
</groupbox>

</hbox>

</prefpane>



<!-- :::::::::::::::::::::::::::::: Military :::::::::::::::::::::::::::::: -->



<prefpane id="Pref4" label="Military" image="chrome://Ultima/content/Military32.png">

<hbox align="center" class="UltimaHeader" style="list-style-image: url('chrome://Ultima/content/Military.png');">
<image class="UltimaImage" width="128" height="128" /><vbox><text class="UltimaTitle" value="Military" />
<html:div class="UltimaDiv" style="font-weight:normal; font-size:8pt; font-family:Arial;">This section lists various options about your Military Calculator such as on what page it will auto launch whether or not to detect the right values needed for the Military Calculator and move them to it as well as options for the Military page such as whether to format the page and/or copy it to your clipboard</html:div></vbox></hbox>

<preferences>
<preference id="Military1"  name="extensions.Ultima.MilitaryCalculatorThrone"    type="bool" />
<preference id="Military2"  name="extensions.Ultima.MilitaryCalculatorSoT"       type="bool" />
<preference id="Military3"  name="extensions.Ultima.MilitaryCalculatorSoM"       type="bool" />
<preference id="Military4"  name="extensions.Ultima.MilitaryCalculatorWarRoom"   type="bool" />
<preference id="Military5"  name="extensions.Ultima.MilitaryValuesFromThrone"    type="bool" />
<preference id="Military6"  name="extensions.Ultima.MilitaryValuesFromBuildings" type="bool" />
<preference id="Military7"  name="extensions.Ultima.MilitaryValuesFromScience"   type="bool" />
<preference id="Military8"  name="extensions.Ultima.MilitaryValuesFromKingdom"   type="bool" />
<preference id="Military9"  name="extensions.Ultima.MilitaryShowClipboard"       type="bool" />
<preference id="Military10" name="extensions.Ultima.MilitaryShowEL"              type="bool" />
<preference id="Military11" name="extensions.Ultima.MilitaryCopyClipboard"       type="bool" />
<preference id="Military12" name="extensions.Ultima.MilitaryCopyEL"              type="bool" />
</preferences>

<hbox>

<groupbox><caption label="Military Calculator" />
<hbox><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="188" preference="Military1" label="Launch on Throne" /><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="176" preference="Military2" label="Launch on SoT" /></hbox>
<hbox><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="188" preference="Military3" label="Launch on SoM" /><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="176" preference="Military4" label="Launch on War Room" disabled="true" /></hbox>
</groupbox>

</hbox><hbox>

<groupbox><caption label="Auto Place Values From" />
<hbox><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="188" preference="Military5" label="Throne/SoT" /><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="176" preference="Military6" label="Affairs/Survey (TG,Forts)" disabled="true" /></hbox>
<hbox><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="188" preference="Military7" label="Science/SoS (Military Bonus)" disabled="true" /><checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" width="176" preference="Military8" label="Self/Target KD (KDNW,Stance)" disabled="true" /></hbox>
</groupbox>

</hbox><hbox>

<groupbox width="190"><caption label="Military Formater Options" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Military9" label="Show Military Clipboard" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Military10" label="Show Military Export Lines" />
</groupbox>

<groupbox width="190"><caption label="Military Clipboard Options" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Military11" label="Auto Copy Clipboard"/>
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Military12" label="Auto Copy Export Lines" />
</groupbox>

</hbox>

</prefpane>



<!-- :::::::::::::::::::::::::::::: Science :::::::::::::::::::::::::::::: -->



<prefpane id="Pref6" label="Science" image="chrome://Ultima/content/Science32.png">

<hbox align="center" class="UltimaHeader" style="list-style-image: url('chrome://Ultima/content/Science.png');">
<image class="UltimaImage" width="128" height="128" /><vbox><text class="UltimaTitle" value="Science" />
<html:div class="UltimaDiv" style="font-weight:normal; font-size:8pt; font-family:Arial;">This section lists various options about your Science Calculator such as on what page it will auto Launch whether or not to detect the right values needed for the Science Calculator and move them to it as well as options for the Science page such as whether to format the page and/or copy it to your clipboard</html:div></vbox></hbox>

<preferences>
<preference id="Science1" name="extensions.Ultima.ScienceCalculatorScience" type="bool" />
<preference id="Science2" name="extensions.Ultima.ScienceCalculatorSoS"     type="bool" />
<preference id="Science3" name="extensions.Ultima.ScienceValuesFromScience" type="bool" />
<preference id="Science4" name="extensions.Ultima.ScienceValuesFromSoS"     type="bool" />
<preference id="Science5" name="extensions.Ultima.ScienceShowClipboard"     type="bool" />
<preference id="Science6" name="extensions.Ultima.ScienceShowEL"            type="bool" />
<preference id="Science7" name="extensions.Ultima.ScienceCopyClipboard"     type="bool" />
<preference id="Science8" name="extensions.Ultima.ScienceCopyEL"            type="bool" />
</preferences>

<hbox>

<groupbox width="190"><caption label="Science Calculator" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Science1" label="Launch on Science Page" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Science2" label="Launch on SoS" />
</groupbox>

<groupbox width="190"><caption label="Auto Place Values From" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Science3" label="Science Page" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Science4" label="SoS" />
</groupbox>

</hbox><hbox>

<groupbox width="190"><caption label="Science Formater Options" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Science5" label="Show Science Clipboard" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Science6" label="Show Science Export Lines" />
</groupbox>

<groupbox width="190"><caption label="Science Clipboard Options" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Science7" label="Auto Copy Clipboard"/>
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Science8" label="Auto Copy Export Lines" />
</groupbox>

</hbox>

</prefpane>



<!-- :::::::::::::::::::::::::::::: Buildings :::::::::::::::::::::::::::::: -->



<prefpane id="Pref5" label="Build" image="chrome://Ultima/content/Buildings32.png">

<hbox align="center" class="UltimaHeader" style="list-style-image: url('chrome://Ultima/content/Buildings.png');">
<image class="UltimaImage" width="128" height="128" /><vbox><text class="UltimaTitle" value="Buildings" />
<html:div class="UltimaDiv" style="font-weight:normal; font-size:8pt; font-family:Arial;">This section lists various options about your Buildings Calculator such as on what page it will auto Launch whether or not to detect the right values needed for the Buildings Calculator and move them to it as well as options for the Buildings page such as whether to format the page and/or copy it to your clipboard</html:div></vbox></hbox>

<preferences>
<preference id="Buildings1" name="extensions.Ultima.BuildingsCalculatorBuildings" type="bool" />
<preference id="Buildings2" name="extensions.Ultima.BuildingsCalculatorSurvey"    type="bool" />
<preference id="Buildings3" name="extensions.Ultima.BuildingsValuesFromBuildings" type="bool" />
<preference id="Buildings4" name="extensions.Ultima.BuildingsValuesFromSurvey"    type="bool" />
<preference id="Buildings5" name="extensions.Ultima.BuildingsShowClipboard"       type="bool" />
<preference id="Buildings6" name="extensions.Ultima.BuildingsShowEL"              type="bool" />
<preference id="Buildings7" name="extensions.Ultima.BuildingsCopyClipboard"       type="bool" />
<preference id="Buildings8" name="extensions.Ultima.BuildingsCopyEL"              type="bool" />
</preferences>

<hbox>

<groupbox width="190"><caption label="Buildings Calculator" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Buildings1" label="Launch on Buildings Page" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Buildings2" label="Launch on Survey" />
</groupbox>

<groupbox width="190"><caption label="Auto Place Values From" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Buildings3" label="Buildings Page" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Buildings4" label="Survey" />
</groupbox>

</hbox><hbox>

<groupbox width="190"><caption label="Buildings Formater Options" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Buildings5" label="Show Buildings Clipboard" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Buildings6" label="Show Buildings Export Lines" />
</groupbox>

<groupbox width="190"><caption label="Buildings Clipboard Options" />
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Buildings7" label="Auto Copy Clipboard"/>
<checkbox style="font-weight:normal; font-size:8pt; font-family:Arial;" preference="Buildings8" label="Auto Copy Export Lines" />
</groupbox>

</hbox>

</prefpane>



<!-- :::::::::::::::::::::::::::::: War Room :::::::::::::::::::::::::::::: -->



<prefpane id="Pref7" label="War Room" image="chrome://Ultima/content/WarRoom32.png">

<hbox align="center" class="UltimaHeader" style="list-style-image: url('chrome://Ultima/content/WarRoom.png');">
<image class="UltimaImage" width="128" height="128" /><vbox><text class="UltimaTitle" value="War Room" /></vbox></hbox>

</prefpane>

</prefwindow>